package com.tledu.dao;

import com.tledu.model.Department;
import com.tledu.model.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface DepartmentDao {
    List<Department> list();

    int insert(Department department);

    int delete(String departmentId);

    int update(Department department);

    Department selectById(String departmentId);
}
